package com.EAsystem.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties(ignoreUnknown = true)
public class Grade {
    private Long id;
    private Double regularScore;    // 平时分
    private Double examScore;       // 考试分
    private Double totalScore;      // 总成绩
    private String createTime;
    private String updateTime;
    
    @JsonIgnoreProperties({"gradeList", "attendanceList", "homeworkList", "courseSelectionList"})
    private Student student;
    
    @JsonIgnoreProperties({"gradeList", "attendanceList", "homeworkList", "courseSelectionList"})
    private Course course;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Double getRegularScore() {
        return regularScore;
    }

    public void setRegularScore(Double regularScore) {
        this.regularScore = regularScore;
    }

    public Double getExamScore() {
        return examScore;
    }

    public void setExamScore(Double examScore) {
        this.examScore = examScore;
    }

    public Double getTotalScore() {
        return totalScore;
    }

    public void setTotalScore(Double totalScore) {
        this.totalScore = totalScore;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public Student getStudent() {
        return student;
    }

    public void setStudent(Student student) {
        this.student = student;
    }

    public Course getCourse() {
        return course;
    }

    public void setCourse(Course course) {
        this.course = course;
    }


}
